package com.dev.drawweb.model.service;

import com.dev.drawweb.model.mapper.ManagerMapper;
import com.dev.drawweb.model.pojo.Manager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ManagerService {

    @Autowired
    ManagerMapper managerMapper;

    public Manager getManagerByID(int id) {
        return managerMapper.getManagerByID(id);
    }

    public int addManager(Manager manager) {
        return managerMapper.addManager(manager);
    }
}
